


const routeData = [
  {
    path: "/",
    redirect: "/home",
  },
  {
    path: "/home",
    component: () => import("@/views/home/index.vue"),
    hidden: true,
  }
]
export default routeData;
// const router = createRouter({
//   history: createWebHistory(),
//   routes: constantRoutes,
//   scrollBehavior(to, from, savedPosition) {
//     if (savedPosition) {
//       return savedPosition;
//     } else {
//       return { top: 0 };
//     }
//   },
// });

// export default router;
